package com.xp.pgojcodesandbox.security;

import java.security.Permission;

/**
 * @author <a href=""https://github.com/Fzs0>逢左使</a>
 * @create 2024/06/16 14:13
 * @Description: 默认安全管理器
 */
public class DefaultSecurityManager extends SecurityManager {

    // 检查所有的权限
    @Override
    public void checkPermission(Permission perm) {
        System.out.println("默认不做任何限制");
        System.out.println(perm);
//        super.checkPermission(perm);
    }

}
